package com.example.feidaolumanager.api

import com.example.feidaolu.modal.Areas
import com.example.feidaolumanager.pojo.ChildrenX
import com.example.feidaolumanager.pojo.ResponseDTO
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Query

interface AreasService {

    @GET("/areas/getAreas")
    suspend fun getAreas(
        @Query("id") ss_id: Int
    ): ResponseDTO<Areas>

    @GET("/app/getAreas")
    suspend fun getAreas(
        @Query("userid") userId: String,
        @Query("userac") userAccount: String,
        @Query("userqx") level: String
    ): ResponseDTO<List<ChildrenX>>

}